/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */
package com.ykht.proj.coupon.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ykht.proj.coupon.entity.FxCmsColumnType;
import com.ykht.proj.coupon.mapper.FxCmsColumnTypeMapper;
import com.ykht.proj.coupon.service.FxCmsColumnTypeService;
import com.ykht.proj.coupon.vo.FxCmsTypeVo;
import org.springframework.stereotype.Service;

/**
 * 栏目和分类关联表
 *
 * @author proj code generator
 * @date 2021-04-25 18:47:54
 */
@Service
public class FxCmsColumnTypeServiceImpl extends ServiceImpl<FxCmsColumnTypeMapper, FxCmsColumnType> implements FxCmsColumnTypeService {

	/**
	 * 根据栏目ID获取已绑定列表
	 *
	 * @param page
	 * @param fxCmsTypeVo
	 * @return
	 */
	@Override
	public IPage<FxCmsTypeVo> getBinDingListPage(Page page, FxCmsTypeVo fxCmsTypeVo) {
		return this.baseMapper.getBinDingListPage(page, fxCmsTypeVo);
	}

	/**
	 * 根据栏目ID获取未绑定列表
	 *
	 * @param page
	 * @param fxCmsTypeVo
	 * @return
	 */
	@Override
	public IPage<FxCmsTypeVo> getNoBinDingListPage(Page page, FxCmsTypeVo fxCmsTypeVo) {
		return this.baseMapper.getNoBinDingListPage(page, fxCmsTypeVo);
	}
}
